import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int r = in.nextInt();
        double pi  = 3.14159265358979323;
        double x = r * r *  pi;

        System.out.println(String.format("%.7f",x));
    }
}
